

package com.hazelcast.internal.services;

/**
 * Interface to be implemented by services that need to intercept lock operation
 * for distributed objects it manages.
 *
 * @param <T> type of key
 */
public interface LockInterceptorService<T> {

    void onBeforeLock(String distributedObjectName, T key);

}
